<template>
         <header>
            <section>
                <!-- 阻止表单的默认提交事件 -->
                <label for="title">ToDoList</label>
                <input type="text" placeholder="添加ToDo" @keyup.enter="add" v-model="todo" />
            </section>
        </header>
</template>

<script>
export default {};
</script>

<style></style>
